package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter@Setter
public class SpendPointItem {
    private Long id;

    private String name;

    private SpendPoint parent;

    private BigDecimal spendamount;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //前台传后台日期类型格式
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") //后台传前台日期格式
    private Date spenddate;

    private String spenduser;

    private String info;

}